package cn.com.gdut.ppj.common.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import cn.com.gdut.ppj.model.TbCandidateRecruitmentInfo;

@Repository("candidateRecruitmentInfoDao")
public interface ICandidateRecruitmentInfoDao {
	
	List<TbCandidateRecruitmentInfo> selectCandidateRecruitmentInfoBy(TbCandidateRecruitmentInfo info);
	
	TbCandidateRecruitmentInfo selectCandidateRecruitmentInfoByCriId(TbCandidateRecruitmentInfo info);
	List<TbCandidateRecruitmentInfo> selectCandidateRecruitmentInfoByUserId(TbCandidateRecruitmentInfo info);
	List<TbCandidateRecruitmentInfo> selectCandidateRecruitmentInfoByResumeId(TbCandidateRecruitmentInfo info);
	List<TbCandidateRecruitmentInfo> selectCandidateRecruitmentInfoByRequirementId(TbCandidateRecruitmentInfo info);
	
	Integer deleteCandidateRecruitmentInfoByCriId(TbCandidateRecruitmentInfo info);

	Integer insertCandidateRecruitmentInfo(TbCandidateRecruitmentInfo info);
	
	Integer countCandidateRecruitmentInfoByResumeId(TbCandidateRecruitmentInfo info);
	Integer countCandidateRecruitmentInfoByRequirementId(TbCandidateRecruitmentInfo info);
	
	Integer updateCandidateRecruitmentInfoByCriId(TbCandidateRecruitmentInfo info);
	
}
